package com.superm.service;

import com.superm.entity.Department;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface DepartmentService {

    List<Department> allDepartment();

    Integer upDepartment(Department dep);

    Integer delDepartment(Integer dep);

    Integer addDepartment(Department dep);

    Department depId(Integer did);

    /**
     * rui
     * @return
     */
    List<Department> selectDepartmentList();
}
